/*
 * Created on 13/04/2010
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.stefanini.pe.bbva.mbl.in.bo.iface;

import java.util.List;

import com.stefanini.pe.bbva.mbl.carga.in.to.Corporativa;
import com.stefanini.pe.bbva.mbl.carga.in.to.CorporativaKey;
import com.stefanini.pe.bbva.mbl.in.dao.iface.CorporativaDAO;

/**
 * @author DLAZO
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public interface CorporativaBO {
	/**
	 * @return Returns the corporativaDAO.
	 */
	public abstract CorporativaDAO getCorporativaDAO();

	/**
	 * @param corporativaDAO The corporativaDAO to set.
	 */
	public abstract void setCorporativaDAO(CorporativaDAO corporativaDAO);

	/**
	 * @param key
	 * @return
	 */
	public abstract int deleteByPrimaryKey(CorporativaKey key);

	/**
	 * @param record
	 */
	public abstract void insert(Corporativa record);

	/**
	 * @param record
	 */
	public abstract void insertSelective(Corporativa record);

	/**
	 * @param key
	 * @return
	 */
	public abstract Corporativa selectByPrimaryKey(CorporativaKey key);

	/**
	 * @param record
	 * @return
	 */
	public abstract int updateByPrimaryKey(Corporativa record);

	/**
	 * @param record
	 * @return
	 */
	public abstract int updateByPrimaryKeySelective(Corporativa record);
	
	public abstract List selectByCriteria(Corporativa record);
	
	public abstract List selectTabs();
	
	public abstract List selectByTab(Corporativa record);
	
	public abstract List selectMaxElemByTab(Corporativa record);
	
	public abstract String actualizarNombreDirectorio(String nomDirAnt, String nomDirNuevo);
}